package com.cn.boot.student.mapper;

import com.cn.boot.student.entity.PermissionEntity;
import com.github.pagehelper.Page;

import java.util.List;


/**
 * 权限持久层
 */
public interface PermissionMapper {
    List<PermissionEntity> findAll(PermissionEntity permissionEntity);
    Page<PermissionEntity> fuzzyQuery(PermissionEntity permissionEntity);
//    List<PermissionEntity> findAll();
    Integer add(PermissionEntity permissionEntity);

    Integer update(PermissionEntity permissionEntity);

    Integer del(Integer id);

    PermissionEntity findById(Integer id);

    Integer getCount(PermissionEntity permissionEntity);
}
